﻿
using NFine.Domain._02_ViewModel;

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace NFine.Web.Areas.WeiXinAreas.Controllers
{
    public class AdminController : Controller
    {
        //
        // GET: /WeiXinAreas/Admin/

       // private LiveManager liveMan = new LiveManager();

        public ActionResult Admin()
        {

         //   List<Exite> ls = liveMan.GetLiveList();

           // ViewData["List"] = ls;

            return View("Admin");


            //if (Session["user"] != null)
            //{
            //    UserInfoModel userinfo = (UserInfoModel)Session["user"];

            //    List<Exite> ls = liveMan.GetLiveList();

            //    ViewData["List"] = ls;

            //    return View(userinfo);
            //}
            //else
            //    return Redirect("/Weixin/NeedToAuthorize?Uri=/WeiXinAreas/Admin/Index");
        }

    }
}
